package com.wavercaz.freeforum.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CommonSearchParam {
    private Integer pageNum;
    private Integer pageSize;
    private Search[] searches;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @ToString
    public static class Search {
        private String key;
        private String rule;
        private Object value;
    }
}
